package com.mgmt;

import java.util.List;
import java.util.Map;

import org.apache.http.impl.client.DefaultHttpClient;


public interface AccountMgt {
	
	public Map isLogin(String username, String secret, String loginType, String IP, int port, String netType, Map<String, Map> userMap, SubMgmt subMgmt, List<com.alibaba.fastjson.JSONObject> userList) ;
	
	public Map login(String username, String secret, String loginType, String IP, int port, String netType, Map<String, Map> userMap, String SettingId, SubMgmt subMgmt) ;
	
	public boolean updateUserStatus(String username, String loginType,  String netType) ;
	
	public boolean remove(String username, String loginType,  String netType) ;
	
	public boolean isuserfull(String username, String netType, DefaultHttpClient httpClient, String IP, int port, SubMgmt subMgmt) ;
	
	public void clearUnUsefullUser(String username, String secret, String loginType, String IP, int port, String netType, Map<String, Map> userMap, List<com.alibaba.fastjson.JSONObject> userList) ;
	
}
